﻿using Commons.Enums;
using DomainCommons.Models;
using Microsoft.AspNetCore.Identity;

namespace ApplicationModels.A02.Identities
{
    public class AppUserAM : IdentityUser<Guid>, IHasCreationTime, IHasDeletionTime, IEntity<Guid>
    {
        public string? UserName { get; set; }
        public string? Email { get; set; }
        public string? PhoneNumber { get; set; }
        public string? Avatar { get; set; }
        public string? NickName { get; set; }

        public GenderEnum? Sex { get; set; }
        public string? SexName { get; set; }
        public DateTime? Birthday { get; set; }
        public bool LockoutEnabled { get; set; }
        public DateTime CreationTime { get; set; }
        public DateTime? DeletionTime { get; private set; }
        public string? Name { get; set; }
        public string? Description { get; set; }
        public AppUserAM() { }
    }
}
